package com.technician.model.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * (Comment)表实体类
 *
 * @author makejava
 * @since 2023-11-16 15:55:34
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentVO {
    //评论id@TableId
    private Long commentId;

    //评论类型（0代表购物，1代表预约）
    private Integer type;
    //商品id
    private Long goodsId;
    //根评论id
    private Long rootId;
    //评论内容
    private String content;
    //所回复的目标评论的userid
    private Long toCommentUserId;
    //所回复的目标评论的用户id
    private String toCommentUserName;
    //回复目标评论id
    private Long toCommentId;
    //创建人的用户id
    private Long createBy;
    //创建时间
    private Date createTime;
    //用户昵称
    private String nickName;
    //头像
    private String avatar;
    //子评论
    private List<CommentVO> children;




}
